from fdfs_client.client import Fdfs_client

# 实例化对象
object = Fdfs_client("client.conf")

# 上传图片
file = object.upload_appender_by_filename("/home/james/Desktop/photos/01.jpg")

print(file)